package com.king.designpatterns.设计模式对比.结构模型对比.装饰模式;

/**
 * 具体装饰类
 *
 * @author king
 * @date 2021-06-17 22:16
 */
public class ConcreteDecorator extends Decorator{
    public ConcreteDecorator(IStar star) {
        super(star);
    }

    @Override
    public void action(String context) {
        System.out.println("进行化妆，造型，让人看上去像明星");
        super.action(context);
    }
}
